<template>
  <div>
    首页<br />
    <el-date-picker class="date" v-model="value1" type="datetimerange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期">
    </el-date-picker>
  </div>
</template>

<script>
export default {
  name: 'home',
  data() {
    return {
      value1: [new Date(2000, 10, 10, 10, 10), new Date(2000, 10, 11, 10, 10)]
    }
  }
}
</script>

<style lang="less" scoped>
.date {
  margin: 30px;
  // border: none !important;
}
</style>
